# git clone https://gitee.com/ligao-1124/vue-demo.git
git pull 

# 安装依赖
npm i --unsafe-perm

npm run build 

if [ ! -e "./dist" ]; then
    echo '临时目录存在异常，停止升级！'
    exit
fi
cp -r ./dist/* /test/vue/
echo "升级完成"
